export default {
  path: '/service',
  name: 'service',
  component: () => import('@/layout/index.vue'),
  meta: { title: '服务管理' },
  redirect: '/service/activity', // 重定向:重新指向其它path,会改变网址
  children: [
    {
      path: '/service/activity',
      name: 'serviceActivity',
      component: () => import('@/views/service/activity.vue'),
      meta: { title: '活动管理' }
    },
    {
      path: '/service/repair',
      name: 'serviceRepair',
      component: () => import('@/views/service/repair.vue'),
      meta: { title: '保修管理' }
    },
    {
      path: '/service/complain',
      name: 'serviceComplain',
      component: () => import('@/views/service/complain.vue'),
      meta: { title: '投诉管理' }
    },
    {
      path: '/service/mailbox',
      name: 'serviceMailbox',
      component: () => import('@/views/service/mailbox.vue'),
      meta: { title: '信箱管理' }
    }
  ]
}
